Search results

32 packages found

Returns `true` if the path appears to be relative.

published 1.0.0 7 years ago
M
Q
P

Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

published 1.0.0 7 years ago
M
Q
P

Resolve a directory that is either local, global or in the user's home directory.

published 1.0.1 7 years ago
M
Q
P

Detects if a file exists and returns the resolved filepath.

published 1.0.0 7 years ago
M
Q
P

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

published 3.0.0 a year ago
M
Q
P

Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.

published 2.0.0 6 years ago
M
Q
P

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

published 4.0.0 a year ago
M
Q
P

Get installation path where the given package is installed. Works for globally and locally installed packages

published 4.0.8 7 years ago
M
Q
P

Localized and configureable async and sync `requre.resolve()` implementation.

published 0.2.4 9 years ago
M
Q
P

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

published 3.0.2 8 years ago
M
Q
P

Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p

published 1.0.1 7 years ago
M
Q
P

resolve/normalize a filepath using the cwd as the basepath if relative

published 0.0.3 9 years ago
M
Q
P

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

published 0.10.0 8 years ago
M
Q
P

Hierarchical filepath resolver

published 0.1.0 7 years ago
M
Q
P

given a filepath return a unique id with serialised info from any package.json file is discovered on the path

published 0.0.3 8 years ago
M
Q
P

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

published 2.0.2 6 years ago
M
Q
P

resolve one filepath (or id) relative to another via the rules of CommonJS/node's module.require

published 0.0.4 8 years ago
M
Q
P

Resolve the path of a module from the directory where npm is installed

published 4.2.0 5 years ago
M
Q
P

resolved and normalized path.

published 1.1.0 8 years ago
M
Q
P

Utility for returning a list of arrays that contain matching keywords. Useful for filtering package.json files.

published 0.2.2 10 years ago
M
Q
P